<!DOCTYPE html>
<html lang="zh-cn ">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航栏</title>
    <style>
        .x{
            height: 40px;
            background-color: #fcfcfc;
            color: #4c4c4c;
            width: 100%;
            float: left;
            border-top: solid 3px #ff8500;
            border-bottom: solid 1px #edeef0;
        }
        .x a{
             text-decoration: none;
             color:#4c4c4c;
             font-size: 12px;
             display: inline-block;
             height: 40px;
             line-height: 40px;
             padding: 0px 20px;
        }
        .x a:hover{
            color: skyblue;
            background-color: orange;
        }
    </style>
</head>
<body>
    <div class="x">
         <a href="#">新浪导航</a>
         <a href="#">手机新浪网</a>
         <a href="#">移动客户端</a>
         <a href="#">微博</a>
    </div>
</body>
</html>